home *** CD-ROM | disk | FTP | other *** search
/ Reverse Code Engineering RCE CD +sandman 2000 / ReverseCodeEngineeringRceCdsandman2000.iso / RCE / Ebooks / Thinking in C++ V2 / C18 / Microsoft.makefile < prev    next >
Encoding:
Makefile  |  2000-05-25  |  3.6 KB  |  156 lines

  1. # From Thinking in C++, 2nd Edition
  2. # At http://www.BruceEckel.com
  3. # (c) Bruce Eckel 1999
  4. # Copyright notice in Copyright.txt
  5. # Automatically-generated MAKEFILE 
  6. # For examples in directory C18
  7. # using the Microsoft compiler
  8. # Note: does not make files that will 
  9. # not compile with this compiler
  10. # Invoke with: make -f Microsoft.makefile
  11.  
  12. # Note: this requires the service Pack 3 from
  13. # www.Microsoft.com for successful compilation!
  14. CPP = cl
  15. CPPFLAGS = -GX -GR
  16. OFLAG = -o
  17. .SUFFIXES : .obj .cpp .c
  18. .cpp.obj :
  19.     $(CPP) $(CPPFLAGS) -c $<
  20. .c.obj :
  21.     $(CPP) $(CPPFLAGS) -c $<
  22.  
  23. all: \
  24.     Iosexamp.exe \
  25.     Strfile.exe \
  26.     Stype.exe \
  27.     Sbufget.exe \
  28.     Seeking.exe \
  29.     Iofile.exe \
  30.     Istring.exe \
  31.     Ostring.exe \
  32.     Walrus.exe \
  33.     Strmove.exe \
  34.     Format.exe \
  35.     Manips.exe \
  36.     nl.exe \
  37.     Makemain.exe \
  38.     Cppcheck.exe \
  39.     Showerr.exe \
  40.     NumberPhotos.exe \
  41.     Breakup.exe 
  42.  
  43. test: all 
  44.     Iosexamp.exe  
  45.     Strfile.exe  
  46.     Stype.exe  
  47.     Sbufget.exe  
  48.     Seeking.exe  
  49.     Iofile.exe  
  50.     Istring.exe  
  51.     Ostring.exe  
  52.     Walrus.exe  
  53.     Strmove.exe  
  54.     Format.exe  
  55.     Manips.exe  
  56.     nl.exe  
  57.     Makemain.exe  
  58.     Cppcheck.exe  
  59.     Showerr.exe  
  60.     NumberPhotos.exe  
  61.     Breakup.exe  
  62.  
  63. bugs: \
  64.     FileClassTest.exe \
  65.     Datagen.exe \
  66.     Datascan.exe 
  67.  
  68. FileClassTest.exe: FileClassTest.obj FileClass.obj 
  69.     $(CPP) $(OFLAG)FileClassTest.exe FileClassTest.obj FileClass.obj 
  70.  
  71. Iosexamp.exe: Iosexamp.obj 
  72.     $(CPP) $(OFLAG)Iosexamp.exe Iosexamp.obj 
  73.  
  74. Strfile.exe: Strfile.obj 
  75.     $(CPP) $(OFLAG)Strfile.exe Strfile.obj 
  76.  
  77. Stype.exe: Stype.obj 
  78.     $(CPP) $(OFLAG)Stype.exe Stype.obj 
  79.  
  80. Sbufget.exe: Sbufget.obj 
  81.     $(CPP) $(OFLAG)Sbufget.exe Sbufget.obj 
  82.  
  83. Seeking.exe: Seeking.obj 
  84.     $(CPP) $(OFLAG)Seeking.exe Seeking.obj 
  85.  
  86. Iofile.exe: Iofile.obj 
  87.     $(CPP) $(OFLAG)Iofile.exe Iofile.obj 
  88.  
  89. Istring.exe: Istring.obj 
  90.     $(CPP) $(OFLAG)Istring.exe Istring.obj 
  91.  
  92. Ostring.exe: Ostring.obj 
  93.     $(CPP) $(OFLAG)Ostring.exe Ostring.obj 
  94.  
  95. Walrus.exe: Walrus.obj 
  96.     $(CPP) $(OFLAG)Walrus.exe Walrus.obj 
  97.  
  98. Strmove.exe: Strmove.obj 
  99.     $(CPP) $(OFLAG)Strmove.exe Strmove.obj 
  100.  
  101. Format.exe: Format.obj 
  102.     $(CPP) $(OFLAG)Format.exe Format.obj 
  103.  
  104. Manips.exe: Manips.obj 
  105.     $(CPP) $(OFLAG)Manips.exe Manips.obj 
  106.  
  107. nl.exe: nl.obj 
  108.     $(CPP) $(OFLAG)nl.exe nl.obj 
  109.  
  110. Makemain.exe: Makemain.obj 
  111.     $(CPP) $(OFLAG)Makemain.exe Makemain.obj 
  112.  
  113. Cppcheck.exe: Cppcheck.obj 
  114.     $(CPP) $(OFLAG)Cppcheck.exe Cppcheck.obj 
  115.  
  116. Showerr.exe: Showerr.obj 
  117.     $(CPP) $(OFLAG)Showerr.exe Showerr.obj 
  118.  
  119. Datagen.exe: Datagen.obj Datalog.obj 
  120.     $(CPP) $(OFLAG)Datagen.exe Datagen.obj Datalog.obj 
  121.  
  122. Datascan.exe: Datascan.obj Datalog.obj 
  123.     $(CPP) $(OFLAG)Datascan.exe Datascan.obj Datalog.obj 
  124.  
  125. NumberPhotos.exe: NumberPhotos.obj 
  126.     $(CPP) $(OFLAG)NumberPhotos.exe NumberPhotos.obj 
  127.  
  128. Breakup.exe: Breakup.obj 
  129.     $(CPP) $(OFLAG)Breakup.exe Breakup.obj 
  130.  
  131.  
  132. FileClass.obj: FileClass.cpp FileClass.h 
  133. FileClassTest.obj: FileClassTest.cpp FileClass.h ..\require.h 
  134. Iosexamp.obj: Iosexamp.cpp 
  135. Strfile.obj: Strfile.cpp ..\require.h 
  136. Stype.obj: Stype.cpp ..\require.h 
  137. Sbufget.obj: Sbufget.cpp ..\require.h 
  138. Seeking.obj: Seeking.cpp ..\require.h 
  139. Iofile.obj: Iofile.cpp ..\require.h 
  140. Istring.obj: Istring.cpp 
  141. Ostring.obj: Ostring.cpp 
  142. Walrus.obj: Walrus.cpp 
  143. Strmove.obj: Strmove.cpp 
  144. Format.obj: Format.cpp 
  145. Manips.obj: Manips.cpp 
  146. nl.obj: nl.cpp 
  147. Makemain.obj: Makemain.cpp ..\require.h 
  148. Cppcheck.obj: Cppcheck.cpp ..\require.h 
  149. Showerr.obj: Showerr.cpp ..\require.h 
  150. Datalog.obj: Datalog.cpp DataLogger.h 
  151. Datagen.obj: Datagen.cpp DataLogger.h ..\require.h 
  152. Datascan.obj: Datascan.cpp DataLogger.h ..\require.h 
  153. NumberPhotos.obj: NumberPhotos.cpp ..\require.h 
  154. Breakup.obj: Breakup.cpp ..\require.h 
  155.  
  156.